import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex)

import user from "./modules/user"

import course from "./modules/course"

//实例化一个store仓库
let store = new Vuex.Store({
    modules: {
        user,
        course
    }
})


export default store